package com.huaxin.hxmoduleworkorder.dto.request;

import com.huaxin.hxmoduleworkorder.common.annotation.validation.ValidInspectionTemplateStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class InspectionTemplateToggleStatusReqDTO {
    @Schema(description = "ID，主键，用于定位更新目标", example = "tpl_ins_123")
    @NotBlank(message = "ID不能为空")
    private String id;

    @Schema(description = "状态：active（启用）/inactive（停用）", example = "active")
    @NotBlank(message = "状态不能为空")
    @ValidInspectionTemplateStatus
    private String status;
}